home *** CD-ROM | disk | FTP | other *** search
/ Multimedia Selection / Multimedia Selection Volume One - CD-ROM / MULTIMEDIA SELECTION____________.ISO / utils / s3tool10 / lc10.doc < prev    next >
Encoding:
Text File  |  1993-02-12  |  2.3 KB  |  70 lines

  1. Program:    S3 Line Calculator
  2. Version:    1.0
  3. Author:     George Spafford
  4. Date:       02/12/93
  5.  
  6. Purpose:
  7.  
  8. To allow mathematical equations to be solved on the command line.
  9.  
  10. Procedure:
  11.  
  12. Run LC at the DOS prompt and enter the equation after it.  For example:
  13.  
  14.         LC 2 + 2   <ENTER>              will give you 4
  15.         LC 2 * (1 + 2)   <ENTER>        will give you 6
  16.         
  17. Expressions are evaluated from left to right.  You can not exceed the DOS
  18. command line limit of 127 characters when entering your equation.
  19.  
  20. LC math operators are:
  21.  
  22.         +       Addition
  23.         -       Subtraction (or to signify a negative number, a unary operand)
  24.         *       multiplication
  25.         \       Integer division
  26.         /       Floating point division
  27.         !       Factorial
  28.         ~       Exponent   2~3 means 2 raised to the 3 power equal to 8.
  29.         (       Left parenthesis
  30.         )       Right parenthesis
  31.         
  32.         ABS     Absolute Value
  33.         CLG     Common Log (Log Base 10)
  34.         COS     Cosine
  35.         LOG     Natural Lon (Base e)
  36.         PI      3.141593
  37.         SIN     SINE
  38.         SQR     Square Root     SQR(4) = 2
  39.         TAN     Tangent
  40.         
  41. If you have a complex equation, be sure that it logically flows by judicious
  42. use of parenthesis.
  43.         
  44.  
  45. Please Register:
  46.  
  47. LC is distributed as shareware.  It is not public domain.  If you find
  48. that LC is a useful utility, please register it for $10 per copy.
  49. Please make payment in U.S. funds to
  50.  
  51.                 George Spafford
  52.                 3001 LakeShore Drive, #329
  53.                 St. Joseph, MI 49085
  54.  
  55.         Data:  (616) 468-5026  Queued Access BBS 14.4Kb USR Dual HST
  56.                                Sysop:  Tim Akright
  57.  
  58.         
  59.         I can also be contacted via E-Mail on EXEC-PC and Channel-1.
  60.       
  61.  
  62. LC IS DISTRIBUTED AS IS.  THE AUTHOR (GEORGE SPAFFORD) MAKES NO
  63. WARRANTY OF ANY KIND, EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED
  64. TO WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE,
  65. WITH RESPECT TO THIS SOFTWARE AND DOCUMENTATION. IN NO EVENT SHALL
  66. THE AUTHOR BE LIABLE FOR ANY DAMAGES, INCLUDING LOST PROFITS, LOST
  67. SAVINGS, OR ANY OTHER INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
  68. OUT OF THE USE OF OR THE INABILITY TO USE THIS PROGRAM.
  69. -----------------------------------------------------------------------
  70.